package com.wing.bill.service;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.IService;
import com.wing.bill.model.entity.WarehouseBill;
import com.wing.bill.model.entity.WarehouseProcessBill;
import com.wing.bill.model.response.WarehouseBillVO;
import com.wing.bill.model.response.WarehouseProcessBillVO;

import java.util.Map;

public interface WarehouseProcessBillService extends IService<WarehouseProcessBill> {

    Page<WarehouseProcessBillVO> pageList4app(Page pg, Map<String, Object> paramMap);

    // 判断用户账单是否存在
    WarehouseProcessBill isExistBill(Long customerId);

    // 新增本月账单
    WarehouseProcessBill createBill(Long customerId);


    WarehouseProcessBill settlement(Long id ,Double amount ,String billVoucherUrl);

    WarehouseProcessBillVO selectBill(String id);
}
